package cn.itcast.core;

import cn.itcast.rule.MyRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @auther :hyh
 * @desc :
 * @date :2019/5/8
 */
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "MICROSERVICECLOUD-DEPT",configuration = MyRule.class)
public class Microservicecloud_dept_consumer {
    public static void main(String[] args) {

        SpringApplication.run(Microservicecloud_dept_consumer.class, args);
    }
}
